<?php
/**
 * Joomla! 1.5 component eventcalendar
 *
 * @version $Id: view.html.php 2010-10-01 08:17:29 svn $
 * @author Pasi Lampinen
 * @package Joomla
 * @subpackage eventcalendar
 * @license GNU/GPL
 *
 * Tapahtumakalenteri Joomlaan geolokaatiolla
 *
 * This component file was created using the Joomla Component Creator by Not Web Design
 * http://www.notwebdesign.com/joomla_component_creator/
 *
 */

// no direct access
defined('_JEXEC') or die('Restricted access');

// Import Joomla! libraries
jimport( 'joomla.application.component.view');
class EventcalendarsViewGroup extends JView 
{
    function display($tpl = null) 
	{
	    JToolBarHelper::title( JText::_( 'Tapahtumakalenteri' ), 'generic.png' );
    
        JToolBarHelper::deleteList();
        JToolBarHelper::editListX();
   
        JToolBarHelper::addNewX('addcalendargroup');
		
		 // Get data from the model
        $items =& $this->get( 'Data');
 
        $this->assignRef( 'items', $items );
		
        parent::display($tpl);
    }
}
?>